import http from '@/http/index';
export const userRegister = (data) => {
  return http({
    url: "/user/register",
    data,
  });
};
export const userLogin = (data) => {
  return http({
    url: "/user/login",
    data,
  });
};
export const userList = (data) => {
  return http({
    url: "/user/list",
    data,
  });
};
export const userDel = (data) => {
  return http({
    url: "/user/delete",
    data,
  });
};
export const userEdit = (data) => {
  return http({
    url: "/user/edit",
    data,
  });
};

